package com.njmaomao.gj.pyot.common.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "分页操作结果")
public class PageResponse<T> extends Response<T> {

	private static final long serialVersionUID = -5089044487881378961L;

	@ApiModelProperty(value = "每页数量")
    private Integer pageSize;

    @ApiModelProperty(value = "页码（最小为1）")
    private Integer pageNum;

    @ApiModelProperty(value = "总行数")
    private Long totalRows;

    @ApiModelProperty(value = "总页数")
    private Integer totalPages;

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Long getTotalRows() {
		return totalRows;
	}

	public void setTotalRows(Long totalRows) {
		this.totalRows = totalRows;
	}

	public Integer getTotalPages() {
		return totalPages;
	}

	public void setTotalPages(Integer totalPages) {
		this.totalPages = totalPages;
	}

}
